Update dependency mithril to v2.3.4 #2535
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.2.2
->2.3.4
Release Notes
MithrilJS/mithril.js (mithril)
v2.3.4
Compare Source
Release v2.3.4
Changelog
Patch Changes
Fix the error message selection condition (@dead-claudia)
The previous condition was basically "if this is non-nullish or a boolean". That "or a boolean" is very obviously redundant.
bundler: fix mangled comments and double suffixes (@kfule)
This PR removes unnecessary suffixes from comments in the bundle file. It also fixes the strange double suffix (
mountRedraw00
).v2.3.3
Compare Source
Release v2.3.3
Changelog
Patch Changes
router: delay mounting RouterRoot until the first route is resolved (fixes #2621) (@kfule)
This PR delays the initial mounting of the router component until after the route has been resolved.
Bump glob from 11.0.2 to 11.0.3 in the normal group (@dependabot[bot])
Bumps the normal group with 1 update: glob. Updates
glob
from 11.0.2 to 11.0.3. Commits.af2e7ce
11.0.3.v2.3.2
Compare Source
Release v2.3.2
Changelog
Patch Changes
Refactor router, fixes #2505 and #2778 (@kfule)
This PR refactors the router code to fix two issues (#2505 and #2778).
v2.3.1
Compare Source
Release v2.3.1
Changelog
Patch Changes
set trailing slash optional in route matching (@touletan)
Regexp has been updated to set trailing slash as optional in route matching. link to issue 3024. New test has been added.
v2.3.0
Compare Source
Release v2.3.0
Changelog
Minor Changes
feat: Make redraws when Promises returned by event handlers are completed (@kfule)
This PR allows redraw on completion of the async event handler. This PR makes redraws when Promises returned by event handlers are completed.
Patch Changes
Allow additional async redraw even if the first redraw is skipped (@kfule)
This PR allows asynchronous redraw processing even if the first redraw is skipped by setting
event.redraw=false
before await in the async function.Bump glob from 11.0.1 to 11.0.2 in the normal group (@dependabot[bot])
Bumps the normal group with 1 update: glob. Updates
glob
from 11.0.1 to 11.0.2. Commits.fd61f24
11.0.2.Fix badge for build status (@kfule)
The URL for the Shields.io badge for build status has been corrected.
v2.2.15
Compare Source
Release v2.2.15
Changelog
Patch Changes
[refactor] Limit the condition of the option tag to
selected
attribute in isFormAttribute() (@kfule)This PR limits the evaluation of whether a tag is
option
to only when setting theselected
attribute.test-perf: Load Benckmark.js first in Node.js (@kfule)
Since Node21, global.navigator has been implemented, and together with browserMock, Benchmark.js incorrectly identifies the execution environment as a browser.
v2.2.14
Compare Source
Release v2.2.14
Changelog
Patch Changes
Improve handling of is-elements and Fix tiny bugs of setAttr()/updateStyle() (@kfule)
Fixes a few tiny bugs in attributes and style properties updates, and improves handling of is-elements in updateNode().
domFor: always get generation from delayedRemoval instead of parameter (@kfule)
The
generation
of domFor is no longer passed as a parameter. This allows domFor to work well in onbeforeremove and onremove and reduces the amount of code.render: wrap stateResult and attrsResult in Promise.resolve(), fix #2592 (@kfule)
This PR wraps the return value of onbeforeremove in Promise.resolve(). This ensures that thenable objects are also always processed asynchronously. fix #2592.
v2.2.13
Compare Source
Release v2.2.13
Changelog
Patch Changes
Fix form checkValidity(), remove vnode.dom === .activeElement from setAttr() (Continued from #2257) (@kfule)
Remove vnode.dom === activeElement(vnode.dom) from setAttribute() to fix validityCheck(), to fix https://github.com/MithrilJS/mithril.js/issues/2256.
Bump glob from 11.0.0 to 11.0.1 in the normal group (@dependabot[bot])
Bumps the normal group with 1 update: glob. Updates
glob
from 11.0.0 to 11.0.1. Commits.148ef61
11.0.1.v2.2.12
Compare Source
Release v2.2.12
Changelog
Patch Changes
disable Terser's "reduce_funcs" option for performance (@kfule)
Terser's “reduce_funcs” option seems to degrade performance. So, disable it.
Bump chokidar from 4.0.1 to 4.0.3 in the normal group across 1 directory (@dependabot[bot])
Bumps the normal group with 1 update in the / directory: chokidar. Updates
chokidar
from 4.0.1 to 4.0.3. Release notes.v2.2.11
Compare Source
Release v2.2.11
Changelog
Patch Changes
Use new pr-release prerelease hook (Fixes #2987) (@JAForbes)
Per @dead-claudia's suggestion, pr-release now allows you to invoke a custom command before creating the github release.
updateStyle(): use setProperty() when css vars and dashed-properties, fixes #2989 (@kfule)
This PR changes updateStyle() to use setProperty() for dashed-properties. This PR maybe fixes #2989.
Delete .github/ISSUE_TEMPLATE/0-docs.yml (@dead-claudia)
Do a much better job discouraging filing docs bugs here.
v2.2.10
Compare Source
Release v2.2.10
Changelog
Patch Changes
[refactor] Performance improvement of updateStyle() (@kfule)
This is a refactoring to improve the performance of
updateStyle()
.v2.2.9
Compare Source
Release v2.2.9
Changelog
Patch Changes
[refactor] Refactoring of hyperscript.js and render.js, including performance improvements (@kfule)
Refactor hyperscript.js and render.js. In particular, the replacement of fix #2622 appears to have significantly improved the performance regression.
v2.2.8
Compare Source
Release v2.2.8
Changelog
Patch Changes
m.domFor(): workaround for unintentional mangling. Fix #2842 (@kfule)
Refactoring of domFor() for the internal bundler. https://github.com/MithrilJS/mithril.js/blob/cfa890f68571df1ab8543097f7fa61c34ee93683/mithril.js#L157.
Drop Istanbul to kill install warnings (@dead-claudia)
Title's pretty self-explanatory. Also, this isn't really used much in practice. From a local run: ```. $ npm ci.
v2.2.5
Compare Source
Release v2.2.5
Changelog
Patch Changes
Bump the normal group across 1 directory with 2 updates (@dependabot[bot])
Bumps the normal group with 2 updates in the / directory: chokidar and eslint.
Cleaning up code by making vnode.attrs always non-null (@kfule)
Commit
f9e5163
made vnode.attrs always non-null, so there is no need for code to make vnode.attrs null or assume vnode.attrs is null.v2.2.4
Compare Source
Release v2.2.4
Changelog
Patch Changes
Remove dependance on global window and document (@KoryNunn)
Use window and document from render target instead of using globals. This makes unit and intergration testing much easier.
hyperscript: handles shared empty attrs, fixes #2821 (@kfule)
Whenever there are selector-derived attrs, the attrs object will be regenerated and not shared.
v2.2.3
Compare Source
Release v2.2.2
Changelog
Patch Changes
Use markdown for the README badges (@pygy)
Use markdown for the README badges.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.